fix @lampholder's NPE for real
fix @lampholder's NPE for real

vector-im/riot-web,vector-im/vector-web,vector-im/vector-web,vector-im/riot-web,vector-im/vector-web,vector-im/riot-web,vector-im/riot-web,vector-im/riot-web,vector-im/vector-web,vector-im/riot-web,vector-im/vector-web