Make feedback table also store sender.
parent
336987bb8d
commit
beaf4384d9
|
@ -28,6 +28,7 @@ class FeedbackStore(SQLBaseStore):
|
|||
"feedback_type": event.feedback_type,
|
||||
"room_id": event.room_id,
|
||||
"target_event_id": event.target_event,
|
||||
"sender": event.user_id,
|
||||
})
|
||||
|
||||
@defer.inlineCallback
|
||||
|
|
|
@ -47,7 +47,8 @@ CREATE TABLE IF NOT EXISTS room_memberships(
|
|||
CREATE TABLE IF NOT EXISTS feedback(
|
||||
event_id TEXT NOT NULL,
|
||||
feedback_type TEXT,
|
||||
target_event_id TEXT,sudo
|
||||
target_event_id TEXT,
|
||||
sender TEXT,
|
||||
room_id TEXT
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue