mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various fixes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user