Add member lists, use member lists to build room lists

This commit is contained in:
Jon Staab
2024-10-22 10:16:31 -07:00
parent fcc257286a
commit e6b11f619f
10 changed files with 111 additions and 36 deletions
+2 -1
View File
@@ -52,7 +52,8 @@
const assertNotNil = <T,>(x: T | undefined) => x!
const showMembers = () => pushModal(ProfileList, {pubkeys: others})
const showMembers = () =>
pushModal(ProfileList, {pubkeys: others, title: `People in this conversation`})
const onSubmit = async ({content, ...params}: EventContent) => {
const tags = [...params.tags, ...remove($pubkey!, pubkeys).map(tagPubkey)]