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