chore(all): Bump moxxmpp
This commit is contained in:
parent
7d70a96533
commit
19fd079436
@ -47,6 +47,7 @@ class XmppService {
|
||||
XmppService() {
|
||||
_eventHandler.addMatchers([
|
||||
EventTypeMatcher<ConnectionStateChangedEvent>(_onConnectionStateChanged),
|
||||
EventTypeMatcher<StreamNegotiationsDoneEvent>(_onStreamNegotiationsDone),
|
||||
EventTypeMatcher<ResourceBoundEvent>(_onResourceBound),
|
||||
EventTypeMatcher<SubscriptionRequestReceivedEvent>(
|
||||
_onSubscriptionRequestReceived,
|
||||
@ -732,18 +733,10 @@ class XmppService {
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> _onConnectionStateChanged(
|
||||
ConnectionStateChangedEvent event, {
|
||||
Future<void> _onStreamNegotiationsDone(
|
||||
StreamNegotiationsDoneEvent event, {
|
||||
dynamic extra,
|
||||
}) async {
|
||||
setNotificationText(event.state);
|
||||
|
||||
await GetIt.I.get<ConnectivityWatcherService>().onConnectionStateChanged(
|
||||
event.before,
|
||||
event.state,
|
||||
);
|
||||
|
||||
if (event.state == XmppConnectionState.connected) {
|
||||
final connection = GetIt.I.get<XmppConnection>();
|
||||
|
||||
// TODO(Unknown): Maybe have something better
|
||||
@ -807,6 +800,17 @@ class XmppService {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> _onConnectionStateChanged(
|
||||
ConnectionStateChangedEvent event, {
|
||||
dynamic extra,
|
||||
}) async {
|
||||
setNotificationText(event.state);
|
||||
|
||||
await GetIt.I.get<ConnectivityWatcherService>().onConnectionStateChanged(
|
||||
event.before,
|
||||
event.state,
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> _onResourceBound(
|
||||
|
@ -955,9 +955,11 @@ packages:
|
||||
moxxmpp:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
path: "../moxxmpp/packages/moxxmpp"
|
||||
relative: true
|
||||
source: path
|
||||
path: "packages/moxxmpp"
|
||||
ref: HEAD
|
||||
resolved-ref: c6552968d53aaf4382360c7414b248a3f09ce0aa
|
||||
url: "https://codeberg.org/moxxy/moxxmpp.git"
|
||||
source: git
|
||||
version: "0.3.2"
|
||||
moxxmpp_socket_tcp:
|
||||
dependency: "direct main"
|
||||
|
14
pubspec.yaml
14
pubspec.yaml
@ -143,18 +143,18 @@ dependency_overrides:
|
||||
version: 0.0.4
|
||||
|
||||
# NOTE: Leave here for development purposes
|
||||
moxxmpp:
|
||||
path: ../moxxmpp/packages/moxxmpp
|
||||
# moxxmpp:
|
||||
# path: ../moxxmpp/packages/moxxmpp
|
||||
# moxxmpp_socket_tcp:
|
||||
# path: ../moxxmpp/packages/moxxmpp_socket_tcp
|
||||
# omemo_dart:
|
||||
# path: ../../Personal/omemo_dart
|
||||
|
||||
# moxxmpp:
|
||||
# git:
|
||||
# url: https://codeberg.org/moxxy/moxxmpp.git
|
||||
# rev: 47b679d168431fb8eda243adaea249932c7176c7
|
||||
# path: packages/moxxmpp
|
||||
moxxmpp:
|
||||
git:
|
||||
url: https://codeberg.org/moxxy/moxxmpp.git
|
||||
rev: c6552968d53aaf4382360c7414b248a3f09ce0aa
|
||||
path: packages/moxxmpp
|
||||
|
||||
extra_licenses:
|
||||
- name: undraw.co
|
||||
|
Loading…
Reference in New Issue
Block a user