Skip to content

Make opening photo messages in channels possible

Michele requested to merge open-photos-in-channels into master

While opening a photo message, an additional parameter is being passed, containing the sender name (message.sender.username). In channels this was ending up with

qrc:///delegates/MessageContentPhoto.qml:146: TypeError: Cannot read property 'username' of null

Since this additional parameter was unused, I removed it.

Merge request reports