From 253009536330c1b1663e0a51d31282d3918fd575 Mon Sep 17 00:00:00 2001 From: Hamish Peebles Date: Fri, 15 Jan 2021 17:24:13 +0000 Subject: [PATCH] Set group chat participants as admin by default --- src/services/chats/src/domain/group_chat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/chats/src/domain/group_chat.rs b/src/services/chats/src/domain/group_chat.rs index ec59b603c3..df227c35eb 100644 --- a/src/services/chats/src/domain/group_chat.rs +++ b/src/services/chats/src/domain/group_chat.rs @@ -44,7 +44,7 @@ impl GroupChat { let mut all_participants = Vec::with_capacity(participants.len() + 1); all_participants.push(Participant::new(creator, true, now)); for p in participants { - all_participants.push(Participant::new(p, false, now)) + all_participants.push(Participant::new(p, true, now)) } GroupChat {