forked from Slowpoke/Conversations
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for XEP-0191 (Blocking command)
Fixes #791 Squash of commits: 534f25d 808fdf5 1eaf8a8 3158524 2e69bd0 e904fb5 eebbadf 7c5b877 b0eaaf4 8c652f9 ad0ea1a f5d4989 a08fa64 de67079 9069f34 0169fa7 8585a5b 0053528 e901a9c c5c7825 e905af3 13a0f9a 2cfba1e 58e074f 0d6cf98 e23620f d72cd2f 195143d 5f5f3ca 1dee3d5 23949b8 9bf97f8
- Loading branch information
Showing
44 changed files
with
1,485 additions
and
904 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/main/java/eu/siacs/conversations/entities/Blockable.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package eu.siacs.conversations.entities; | ||
|
||
import eu.siacs.conversations.xmpp.jid.Jid; | ||
|
||
public interface Blockable { | ||
public boolean isBlocked(); | ||
public boolean isDomainBlocked(); | ||
public Jid getBlockedJid(); | ||
public Jid getJid(); | ||
public Account getAccount(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.