Remove console.log from membership
This commit is contained in:
parent
e08b895694
commit
66ecf44048
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ function createMembershipEvent(membership, message) {
|
|||
return simpleEvent((e) => e.type == "m.room.member" && e.content.membership === membership, message)
|
||||
}
|
||||
|
||||
const JoinedEvent = createMembershipEvent("join", (e) => {console.log(e); return "joined the room"})
|
||||
const JoinedEvent = createMembershipEvent("join", (e) => "joined the room")
|
||||
const InvitedEvent = createMembershipEvent("invite", (e) => `invited ${e.content.displayname} the room`)
|
||||
const LeaveEvent = createMembershipEvent("leave", () => "left the room")
|
||||
|
||||
|
|
Loading…
Reference in a new issue