Various fixes

This commit is contained in:
Ilya Laktyushin
2021-02-11 22:51:56 +04:00
parent fdbd3ceb7a
commit ad2678645d
40 changed files with 5557 additions and 5839 deletions

View File

@@ -1017,7 +1017,7 @@ public func userInfoController(context: AccountContext, peerId: PeerId, mode: Pe
let _ = removePeerChat(account: context.account, peerId: peerId, reportChatSpam: reportSpam).start()
popToRootImpl?()
} else if reportSpam {
let _ = reportPeer(account: context.account, peerId: peerId, reason: .spam).start()
let _ = reportPeer(account: context.account, peerId: peerId, reason: .spam, message: "").start()
}
deleteSendMessageIntents(peerId: peerId)