mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-12 10:49:45 +00:00
Simplify ClosedGroupControlMessage#fromProto
This commit is contained in:
@@ -239,8 +239,7 @@ object MockDataGenerator {
|
||||
// Add the group created message
|
||||
if (userSessionId == adminUserId) {
|
||||
storage.insertOutgoingInfoMessage(context, groupId, SignalServiceGroup.Type.CREATION, groupName, members, listOf(adminUserId), threadId, (timestampNow - (numMessages * 5000)))
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
storage.insertIncomingInfoMessage(context, adminUserId, groupId, SignalServiceGroup.Type.CREATION, groupName, members, listOf(adminUserId), (timestampNow - (numMessages * 5000)))
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user