aboutsummaryrefslogtreecommitdiff
path: root/lib/room.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/room.h')
-rw-r--r--lib/room.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/room.h b/lib/room.h
index 288db5fb..7b4b3578 100644
--- a/lib/room.h
+++ b/lib/room.h
@@ -408,13 +408,14 @@ namespace QMatrixClient
void fileTransferCancelled(QString id);
protected:
- virtual void processStateEvents(const RoomEvents& events);
+ /// Returns true if any of room names/aliases has changed
+ virtual bool processStateEvent(const RoomEvent& e);
virtual void processEphemeralEvent(EventPtr&& event);
virtual void processAccountDataEvent(EventPtr&& event);
- virtual void onAddNewTimelineEvents(timeline_iter_t from) { }
- virtual void onAddHistoricalTimelineEvents(rev_iter_t from) { }
- virtual void onRedaction(const RoomEvent& prevEvent,
- const RoomEvent& after) { }
+ virtual void onAddNewTimelineEvents(timeline_iter_t /*from*/) { }
+ virtual void onAddHistoricalTimelineEvents(rev_iter_t /*from*/) { }
+ virtual void onRedaction(const RoomEvent& /*prevEvent*/,
+ const RoomEvent& /*after*/) { }
private:
class Private;