mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Slash command to discard session
This commit is contained in:
@@ -1438,6 +1438,12 @@
|
||||
cmdUsage = @"Usage: /topic <topic>";
|
||||
}
|
||||
}
|
||||
else if ([string hasPrefix:kMXKSlashCmdDiscardSession])
|
||||
{
|
||||
[roomDataSource.mxSession.crypto discardOutboundGroupSessionForRoomWithRoomId:roomDataSource.roomId onComplete:^{
|
||||
MXLogDebug(@"[MXKRoomVC] Manually discarded outbound group session");
|
||||
}];
|
||||
}
|
||||
else
|
||||
{
|
||||
// Retrieve userId
|
||||
|
||||
Reference in New Issue
Block a user