Skip to content

Commit

Permalink
update ssmdc.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCyjaneK committed Aug 29, 2023
1 parent 1c94b95 commit 4904e7c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions lib/handlers/groupinfo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,27 @@ admin: ${await p3pssmdc.isAdmin(ui)}
destinationPublicKey: cui.publicKey,
data: EventIntroduce(
endpoint: si.endpoint,
fselm: await ui.fileStore.getFileStoreElement(p3pssmdc.p3p),
publickey: p3pssmdc.p3p.privateKey.toPublic,
username: si.name ?? 'unknown username (ir)',
).toJson(),
),
);
cui.addEvent(
p3pssmdc.p3p,
Event(
eventType: EventType.fileMetadata,
data: EventFileMetadata(
files: await ui.fileStore.getFileStoreElement(p3pssmdc.p3p),
).toJson(),
),
);
}
ui.addEvent(
p3pssmdc.p3p,
Event(
eventType: EventType.message,
data: EventMessage(
text: 'Title updated to: `$title`', type: MessageType.text)
text: 'Title updated to: `$title`', type: MessageType.service)
.toJson(),
)..uuid = evt.uuid,
);
Expand Down

0 comments on commit 4904e7c

Please sign in to comment.