Make opening photo messages in channels possible
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.