Skip to content
Snippets Groups Projects
Commit d7fb40d0 authored by Adrien Béraud's avatar Adrien Béraud Committed by Adrien Béraud
Browse files

Conversation.Mode: add isSwarm

Change-Id: Ia4fffe64aff570b38194db3a8be699611b896502
parent 27a1de22
No related branches found
No related tags found
No related merge requests found
......@@ -785,7 +785,10 @@ class Conversation : ConversationHistory {
enum class Mode {
OneToOne, AdminInvitesOnly, InvitesOnly, // Non-daemon modes
Syncing, Public, Legacy, Request
Syncing, Public, Legacy, Request;
val isSwarm: Boolean
get() = this == OneToOne || this == InvitesOnly || this == Public
}
interface ConversationActionCallback {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment