~singpolyma/cheogram-android

0b377a8c512782484d570e24b6b59968903cfbfe — Stephen Paul Weber 6 months ago 383e389
Don't offer inline if we're not willing to bob
1 files changed, 3 insertions(+), 1 deletions(-)

M src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
M src/main/java/eu/siacs/conversations/services/XmppConnectionService.java => src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +3 -1
@@ 822,7 822,9 @@ public class XmppConnectionService extends Service {
                            for (Cid cid : cids) {
                                saveCid(cid, file);
                            }
                            emojiSearch.addEmoji(new EmojiSearch.CustomEmoji(filename, cids[0].toString(), icon, file.getParentFile().getName()));
                            if (file.length() < 129000) {
                                emojiSearch.addEmoji(new EmojiSearch.CustomEmoji(filename, cids[0].toString(), icon, file.getParentFile().getName()));
                            }
                        }
                    } catch (final Exception e) {
                        Log.w(Config.LOGTAG, "rescanStickers: " + e);