1
0
Fork 1

List XEP-0224 in doap + Fix NPE (Cheogram)

This commit is contained in:
Arne 2023-05-24 14:47:44 +02:00
parent 4bc299c87d
commit b652485934
2 changed files with 10 additions and 1 deletions

View file

@ -63,6 +63,15 @@
<implements rdf:resource="https://xmpp.org/rfcs/rfc7590.html"/>
<implements>
<xmpp:SupportedXep>
<xmpp:xep rdf:resource="https://xmpp.org/extensions/xep-0224.html"/>
<xmpp:status>partial</xmpp:status>
<xmpp:version>1.0</xmpp:version>
<xmpp:note xml:lang='en'>For MUC members</xmpp:note>
</xmpp:SupportedXep>
</implements>
<implements>
<xmpp:SupportedXep>
<xmpp:xep rdf:resource="https://xmpp.org/extensions/xep-0428.html"/>

View file

@ -300,7 +300,7 @@ public class ConnectionService extends android.telecom.ConnectionService {
@Override
public void onCallAudioStateChanged(CallAudioState state) {
pendingState = null;
if (rtpConnection == null || rtpConnection.get() == null) {
if (rtpConnection == null || rtpConnection.get() == null || rtpConnection.get().getAudioManager() == null) {
pendingState = state;
return;
}