TelepathyIM / telepathy-morse

Telegram connection manager for the Telepathy framework
GNU General Public License v2.0
62 stars 10 forks source link

Implement Contact media type #44

Closed Kaffeine closed 4 years ago

Kaffeine commented 7 years ago

text/plain part

+            const QString name = CContactModel::getContactName(contact);
+            const QString phone = QStringLiteral("tel:") + contact.phone();
+            if (name.isEmpty()) {
+                return phone;
+            }
+            return name + QLatin1Char('\n') + phone;

text/vcard

Kaffeine commented 4 years ago

vCard message part implemented in bf8b134556a20d2d7f1ace03f1f45e2a63bacb6f Text alternative implemented in telegram-qt commit f725e4cc1d