mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-22 09:28:14 +01:00
Remove groups table, conversation is single source of truth
This commit is contained in:
@@ -1135,16 +1135,7 @@
|
||||
async showMembers(e, providedMembers, options = {}) {
|
||||
_.defaults(options, { needVerify: false });
|
||||
|
||||
const fromConversation = this.model.isPrivate()
|
||||
? [this.model.id]
|
||||
: await textsecure.storage.groups.getNumbers(this.model.id);
|
||||
const members =
|
||||
providedMembers ||
|
||||
fromConversation.map(id => ConversationController.get(id));
|
||||
|
||||
const model = this.model.getContactCollection();
|
||||
model.reset(members);
|
||||
|
||||
const model = providedMembers || this.model.contactCollection;
|
||||
const view = new Whisper.GroupMemberList({
|
||||
model,
|
||||
// we pass this in to allow nested panels
|
||||
|
||||
Reference in New Issue
Block a user