mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 14:06:02 -04:00
Reimplement the get public rooms api to work with new DB schema
This commit is contained in:
parent
2c46bb6208
commit
5002efa31b
7 changed files with 100 additions and 36 deletions
|
@ -15,7 +15,7 @@
|
|||
|
||||
from synapse.api.events.room import (
|
||||
RoomTopicEvent, MessageEvent, RoomMemberEvent, FeedbackEvent,
|
||||
InviteJoinEvent, RoomConfigEvent
|
||||
InviteJoinEvent, RoomConfigEvent, RoomNameEvent,
|
||||
)
|
||||
|
||||
from synapse.util.stringutils import random_string
|
||||
|
@ -25,6 +25,7 @@ class EventFactory(object):
|
|||
|
||||
_event_classes = [
|
||||
RoomTopicEvent,
|
||||
RoomNameEvent,
|
||||
MessageEvent,
|
||||
RoomMemberEvent,
|
||||
FeedbackEvent,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue