mirror of
https://github.com/moparisthebest/Conversations
synced 2025-01-13 06:28:06 -05:00
reset pending subscription request when receiving roster update
This commit is contained in:
parent
20eebe638b
commit
0298f0181e
@ -382,11 +382,13 @@ public class Contact implements ListItem, Blockable {
|
||||
this.resetOption(Options.TO);
|
||||
this.setOption(Options.FROM);
|
||||
this.resetOption(Options.PREEMPTIVE_GRANT);
|
||||
this.resetOption(Options.PENDING_SUBSCRIPTION_REQUEST);
|
||||
break;
|
||||
case "both":
|
||||
this.setOption(Options.TO);
|
||||
this.setOption(Options.FROM);
|
||||
this.resetOption(Options.PREEMPTIVE_GRANT);
|
||||
this.resetOption(Options.PENDING_SUBSCRIPTION_REQUEST);
|
||||
break;
|
||||
case "none":
|
||||
this.resetOption(Options.FROM);
|
||||
|
Loading…
Reference in New Issue
Block a user