2015-10-27 19:18:02 +00:00
|
|
|
package org.thoughtcrime.securesms.sms;
|
|
|
|
|
2016-03-23 17:34:41 +00:00
|
|
|
import org.whispersystems.libsignal.util.guava.Optional;
|
|
|
|
import org.whispersystems.signalservice.api.messages.SignalServiceGroup;
|
2015-10-27 19:18:02 +00:00
|
|
|
|
|
|
|
public class IncomingJoinedMessage extends IncomingTextMessage {
|
|
|
|
|
|
|
|
public IncomingJoinedMessage(String sender) {
|
2016-08-16 03:23:56 +00:00
|
|
|
super(sender, 1, System.currentTimeMillis(), null, Optional.<SignalServiceGroup>absent(), 0);
|
2015-10-27 19:18:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isJoined() {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isSecureMessage() {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|