mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-12 12:33:39 +00:00
parent
bb1ab2e929
commit
3861084ea2
@ -510,6 +510,10 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void handleSelectMessageExpiration() {
|
private void handleSelectMessageExpiration() {
|
||||||
|
if (isPushGroupConversation() && !isActiveGroup()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
ExpirationDialog.show(this, recipients.getExpireMessages(), new ExpirationDialog.OnClickListener() {
|
ExpirationDialog.show(this, recipients.getExpireMessages(), new ExpirationDialog.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(final int expirationTime) {
|
public void onClick(final int expirationTime) {
|
||||||
|
@ -133,6 +133,7 @@ public class ComposeText extends EmojiEditText {
|
|||||||
|
|
||||||
if (Build.VERSION.SDK_INT <= 13) return inputConnection;
|
if (Build.VERSION.SDK_INT <= 13) return inputConnection;
|
||||||
if (mediaListener == null) return inputConnection;
|
if (mediaListener == null) return inputConnection;
|
||||||
|
if (inputConnection == null) return null;
|
||||||
|
|
||||||
EditorInfoCompat.setContentMimeTypes(editorInfo, new String[] {"image/jpeg", "image/png", "image/gif"});
|
EditorInfoCompat.setContentMimeTypes(editorInfo, new String[] {"image/jpeg", "image/png", "image/gif"});
|
||||||
return InputConnectionCompat.createWrapper(inputConnection, editorInfo, new CommitContentListener(mediaListener));
|
return InputConnectionCompat.createWrapper(inputConnection, editorInfo, new CommitContentListener(mediaListener));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user