Fix an issue reported by Rageshake
Fix an issue reported by Rageshake

vector-im/vector-android,vector-im/vector-android,vector-im/riot-android,vector-im/riot-android,vector-im/vector-android,vector-im/riot-android,vector-im/riot-android,vector-im/riot-android,vector-im/vector-android