mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-06-07 21:53:29 +00:00
prohibit direct messages to group contacts unless group preferences allow them (#1476)
* prohibit direct messages to group contacts unless group preferences allow them * tests * refactor * more test
This commit is contained in:
committed by
GitHub
parent
e44e9a0940
commit
6f59df4e33
@@ -547,6 +547,7 @@ data ChatErrorType
|
||||
| CENoCurrentCall
|
||||
| CECallContact {contactId :: Int64}
|
||||
| CECallState {currentCallState :: CallStateTag}
|
||||
| CEDirectMessagesProhibited {direction :: MsgDirection, contact :: Contact}
|
||||
| CEAgentVersion
|
||||
| CEAgentNoSubResult {agentConnId :: AgentConnId}
|
||||
| CECommandError {message :: String}
|
||||
|
||||
Reference in New Issue
Block a user