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.resetOption(Options.TO);
|
||||||
this.setOption(Options.FROM);
|
this.setOption(Options.FROM);
|
||||||
this.resetOption(Options.PREEMPTIVE_GRANT);
|
this.resetOption(Options.PREEMPTIVE_GRANT);
|
||||||
|
this.resetOption(Options.PENDING_SUBSCRIPTION_REQUEST);
|
||||||
break;
|
break;
|
||||||
case "both":
|
case "both":
|
||||||
this.setOption(Options.TO);
|
this.setOption(Options.TO);
|
||||||
this.setOption(Options.FROM);
|
this.setOption(Options.FROM);
|
||||||
this.resetOption(Options.PREEMPTIVE_GRANT);
|
this.resetOption(Options.PREEMPTIVE_GRANT);
|
||||||
|
this.resetOption(Options.PENDING_SUBSCRIPTION_REQUEST);
|
||||||
break;
|
break;
|
||||||
case "none":
|
case "none":
|
||||||
this.resetOption(Options.FROM);
|
this.resetOption(Options.FROM);
|
||||||
|
|
Loading…
Reference in New Issue