mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 00:59:39 +02:00
[build] Bump error prone from 2.9.0 to 2.32.0
This commit is contained in:
parent
07d9d694da
commit
beacb5eb8e
69 changed files with 265 additions and 255 deletions
|
@ -349,15 +349,9 @@ public class AgentSession {
|
|||
new StanzaTypeFilter(Presence.class), FromMatchesFilter.create(workgroupJID)), presence);
|
||||
|
||||
presence = collector.nextResultOrThrow();
|
||||
|
||||
// We can safely update this iv since we didn't get any error
|
||||
this.online = online;
|
||||
}
|
||||
// Otherwise the user is going offline...
|
||||
else {
|
||||
// Update this iv now since we don't care at this point of any error
|
||||
this.online = online;
|
||||
|
||||
presence = connection.getStanzaFactory().buildPresenceStanza()
|
||||
.ofType(Presence.Type.unavailable)
|
||||
.to(workgroupJID)
|
||||
|
@ -714,7 +708,7 @@ public class AgentSession {
|
|||
private void fireOfferRequestEvent(OfferRequestProvider.OfferRequestPacket requestPacket) {
|
||||
Offer offer = new Offer(this.connection, this, requestPacket.getUserID(),
|
||||
requestPacket.getUserJID(), this.getWorkgroupJID(),
|
||||
new Date(new Date().getTime() + (requestPacket.getTimeout() * 1000)),
|
||||
new Date(new Date().getTime() + (requestPacket.getTimeout() * 1000L)),
|
||||
requestPacket.getSessionID(), requestPacket.getMetaData(), requestPacket.getContent());
|
||||
|
||||
synchronized (offerListeners) {
|
||||
|
|
|
@ -137,7 +137,7 @@ public class Workgroup {
|
|||
}
|
||||
});
|
||||
|
||||
/**
|
||||
/*
|
||||
* Internal handling of an invitation. Receiving an invitation removes the user from the queue.
|
||||
*/
|
||||
MultiUserChatManager.getInstanceFor(connection).addInvitationListener(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue