Skip to content

Simplify function call in RoomPage

Carl Schwan requested to merge work/simplify-function-call into master

Instead of passing every argument in the right order, pass the entire model/event object to the context menu functions. This is less copy pasta of code and the order of the args is now less likely to break in the future.

Related to #455 (closed)

Signed-off-by: Carl Schwan carl@carlschwan.eu

Merge request reports

Loading