mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 09:17:44 +00:00
Per-recipient ringtones can't be file based
This commit is contained in:
parent
9c77ffc2a4
commit
d782d3006b
@ -453,6 +453,10 @@ public class Recipient implements RecipientModifiedListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public synchronized @Nullable Uri getRingtone() {
|
public synchronized @Nullable Uri getRingtone() {
|
||||||
|
if (ringtone != null && ringtone.getScheme() != null && ringtone.getScheme().startsWith("file")) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
return ringtone;
|
return ringtone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user