diff --git a/img/mascot.svg b/img/mascot.svg index 57d46be5..fe41fdc2 100644 --- a/img/mascot.svg +++ b/img/mascot.svg @@ -1,117 +1,19 @@ - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - diff --git a/img/providers/facebook.svg b/img/providers/facebook.svg index 75edf64d..1cfc8c12 100644 --- a/img/providers/facebook.svg +++ b/img/providers/facebook.svg @@ -1,103 +1,7 @@ - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - + + + + + + diff --git a/img/providers/gapps.svg b/img/providers/gapps.svg index 5fb17219..a259d863 100644 --- a/img/providers/gapps.svg +++ b/img/providers/gapps.svg @@ -1,102 +1,13 @@ - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - + + + + + + + + + + + + diff --git a/img/providers/hangouts.svg b/img/providers/hangouts.svg index 5fb17219..a259d863 100644 --- a/img/providers/hangouts.svg +++ b/img/providers/hangouts.svg @@ -1,102 +1,13 @@ - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - + + + + + + + + + + + + diff --git a/img/providers/loqui.svg b/img/providers/loqui.svg index 9564e7e5..b67bb3cc 100644 --- a/img/providers/loqui.svg +++ b/img/providers/loqui.svg @@ -1,88 +1,11 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - + + + + + + + + + + diff --git a/img/providers/lync.svg b/img/providers/lync.svg index 6dec6ab6..a378ef96 100644 --- a/img/providers/lync.svg +++ b/img/providers/lync.svg @@ -1,120 +1,13 @@ - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/img/providers/nimbuzz.svg b/img/providers/nimbuzz.svg index b30ae17d..4a39b287 100644 --- a/img/providers/nimbuzz.svg +++ b/img/providers/nimbuzz.svg @@ -1,105 +1,7 @@ - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - + + + + + + diff --git a/img/providers/ovi.svg b/img/providers/ovi.svg index ffea90df..587674d9 100644 --- a/img/providers/ovi.svg +++ b/img/providers/ovi.svg @@ -1,41 +1,5 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - + + + + diff --git a/img/providers/squares/add.svg b/img/providers/squares/add.svg index f2619fe0..d0d2aa6f 100644 --- a/img/providers/squares/add.svg +++ b/img/providers/squares/add.svg @@ -1,63 +1,5 @@ - - - - - - - - - - image/svg+xml - - - - - - - - + + + + diff --git a/img/providers/squares/close.svg b/img/providers/squares/close.svg index 955ecaae..deba7a1d 100644 --- a/img/providers/squares/close.svg +++ b/img/providers/squares/close.svg @@ -1,142 +1,7 @@ - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - + + + + + + diff --git a/img/providers/squares/facebook.svg b/img/providers/squares/facebook.svg index 0ba4e8c7..74b4c11d 100644 --- a/img/providers/squares/facebook.svg +++ b/img/providers/squares/facebook.svg @@ -1,81 +1,6 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - + + + + + diff --git a/img/providers/squares/gapps.svg b/img/providers/squares/gapps.svg index 7c8038e2..797123a6 100644 --- a/img/providers/squares/gapps.svg +++ b/img/providers/squares/gapps.svg @@ -1,95 +1,11 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - + + + + + + + + + + diff --git a/img/providers/squares/hangouts.svg b/img/providers/squares/hangouts.svg index 7c8038e2..797123a6 100644 --- a/img/providers/squares/hangouts.svg +++ b/img/providers/squares/hangouts.svg @@ -1,95 +1,11 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - + + + + + + + + + + diff --git a/img/providers/squares/loqui.svg b/img/providers/squares/loqui.svg index db476dff..7168cbee 100644 --- a/img/providers/squares/loqui.svg +++ b/img/providers/squares/loqui.svg @@ -1,113 +1,14 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + diff --git a/img/providers/squares/lync.svg b/img/providers/squares/lync.svg index d140fe20..88cb0809 100644 --- a/img/providers/squares/lync.svg +++ b/img/providers/squares/lync.svg @@ -1,111 +1,15 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + diff --git a/img/providers/squares/nimbuzz.svg b/img/providers/squares/nimbuzz.svg index 6dadf84c..83f72418 100644 --- a/img/providers/squares/nimbuzz.svg +++ b/img/providers/squares/nimbuzz.svg @@ -1,82 +1,6 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - + + + + + diff --git a/img/providers/squares/ovi.svg b/img/providers/squares/ovi.svg index 1050df23..1d7fbab3 100644 --- a/img/providers/squares/ovi.svg +++ b/img/providers/squares/ovi.svg @@ -1,47 +1,6 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - + + + + + diff --git a/img/providers/squares/reload.svg b/img/providers/squares/reload.svg index 1d8199ce..93fb1b63 100644 --- a/img/providers/squares/reload.svg +++ b/img/providers/squares/reload.svg @@ -1,41 +1,5 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - + + + + diff --git a/img/providers/squares/settings.svg b/img/providers/squares/settings.svg index 9b3f413c..6720100b 100644 --- a/img/providers/squares/settings.svg +++ b/img/providers/squares/settings.svg @@ -1,63 +1,5 @@ - - - - - - - - - - image/svg+xml - - - - - - - - + + + + diff --git a/img/providers/squares/whatsapp.svg b/img/providers/squares/whatsapp.svg index 98da7cd0..5b7b4936 100644 --- a/img/providers/squares/whatsapp.svg +++ b/img/providers/squares/whatsapp.svg @@ -1,170 +1,30 @@ - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/providers/squares/xmpp.svg b/img/providers/squares/xmpp.svg index 4b96a5a1..463a2c4a 100644 --- a/img/providers/squares/xmpp.svg +++ b/img/providers/squares/xmpp.svg @@ -1,112 +1,13 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/img/providers/whatsapp.svg b/img/providers/whatsapp.svg index eed71cc6..6aafd3c5 100644 --- a/img/providers/whatsapp.svg +++ b/img/providers/whatsapp.svg @@ -1,181 +1,27 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/providers/xmpp.svg b/img/providers/xmpp.svg index 3131defe..5c280322 100644 --- a/img/providers/xmpp.svg +++ b/img/providers/xmpp.svg @@ -1,172 +1,24 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/tick.svg b/img/tick.svg new file mode 100644 index 00000000..1802da47 --- /dev/null +++ b/img/tick.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/scripts/loqui/connectors/coseme.js b/scripts/loqui/connectors/coseme.js index 85ed9f0c..cfa9858c 100644 --- a/scripts/loqui/connectors/coseme.js +++ b/scripts/loqui/connectors/coseme.js @@ -582,6 +582,7 @@ App.connectors['coseme'] = function (account) { account.presenceRender(jid); } } else { + contact.presence.show = parseInt(lastSeen) < 300 ? 'a' : 'away'; account.presenceRender(jid); var chatSection = $('section#chat[data-jid="' + jid + '"]'); var status = chatSection.find('header .status'); diff --git a/scripts/loqui/connectors/xmpp.js b/scripts/loqui/connectors/xmpp.js index cd6c2724..984573e9 100644 --- a/scripts/loqui/connectors/xmpp.js +++ b/scripts/loqui/connectors/xmpp.js @@ -329,7 +329,7 @@ App.connectors['XMPP'] = function (account) { App.notify({ subject: chat.core.title, text: _('SentYou', { type: _('MediaType_bolt') }), - pic: 'https://raw.github.com/loqui/im/master/img/bolt.png', + pic: 'https://raw.github.com/loqui/im/dev/img/bolt.png', callback: function () { chat.show(); App.toForeground();