mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-12 08:01:08 +01:00
Globally 's;stanza(/packet);stanza;'
This commit is contained in:
parent
1d12be1644
commit
ad87243060
171 changed files with 911 additions and 599 deletions
|
|
@ -49,10 +49,10 @@ public class GcmPacketExtension extends AbstractJsonPacketExtension {
|
|||
}
|
||||
|
||||
/**
|
||||
* Retrieve the GCM stanza(/packet) extension from the packet.
|
||||
* Retrieve the GCM stanza extension from the packet.
|
||||
*
|
||||
* @param packet
|
||||
* @return the GCM stanza(/packet) extension or null.
|
||||
* @return the GCM stanza extension or null.
|
||||
*/
|
||||
public static GcmPacketExtension from(Stanza packet) {
|
||||
return packet.getExtension(ELEMENT, NAMESPACE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue