mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-26 12:37:58 +01:00
Merge remote-tracking branch 'ignite/4.2' into 4.2
This commit is contained in:
commit
f7ae216138
2 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@ public final class BoBManager extends Manager {
|
|||
|
||||
public BoBInfo addBoB(BoBData bobData) {
|
||||
// We only support SHA-1 for now.
|
||||
BoBHash bobHash = new BoBHash("sha1", SHA1.hex(bobData.getContent()));
|
||||
BoBHash bobHash = new BoBHash(SHA1.hex(bobData.getContent()), "sha1");
|
||||
|
||||
Set<BoBHash> bobHashes = Collections.singleton(bobHash);
|
||||
bobHashes = Collections.unmodifiableSet(bobHashes);
|
||||
|
|
|
@ -1011,7 +1011,7 @@ public class MultiUserChat {
|
|||
*
|
||||
* @param presenceInterceptor the stanza(/packet) interceptor to remove.
|
||||
*/
|
||||
public void removePresenceInterceptor(StanzaListener presenceInterceptor) {
|
||||
public void removePresenceInterceptor(PresenceListener presenceInterceptor) {
|
||||
presenceInterceptors.remove(presenceInterceptor);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue