fix crash on invite via /invite command
When trying to invite a user, if that user doesn't get banned or already get invited (which is the most common case), roomMemberEvent
will be nullptr
. This patch add a check for this case.
When trying to invite a user, if that user doesn't get banned or already get invited (which is the most common case), roomMemberEvent
will be nullptr
. This patch add a check for this case.