Bug 347317 - Add support for Whatsapp plugin using Whatsapp-purple
Summary: Add support for Whatsapp plugin using Whatsapp-purple
Status: REPORTED
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-06 15:08 UTC by Agron
Modified: 2017-10-27 15:34 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agron 2015-05-06 15:08:02 UTC
KDE-Telepathy has a great infrastructure to support many communications plugins.

Since Whatsapp already has a pidgin plugin, it should be possible to use the same plugin in KDE-Telepathy.

Here's the source of Whatsapp-purple.
https://github.com/davidgfnet/whatsapp-purple


Reproducible: Always
Comment 1 sombragris 2015-10-14 16:29:48 UTC
Seconded. Please do this. Thank you!
Comment 2 Lemmiwinks 2016-05-05 06:37:40 UTC
I would really like to see all purple plugins work in telepathy. (skypeweb, facebook, hangouts, wahtsapp...)
Comment 3 CnZhx 2016-11-11 12:01:32 UTC
This seems a very good wish. But it looks like this component has been in active development for a while now. Just mark my wish here.
Comment 4 wincak 2017-10-27 15:34:23 UTC
Looks like whatsapp-purple is no longer being developed.

However it seems that you can use telepathy-haze with purple plugins to some extent. I just found a way to enable facebook chat integration through purple-facebook.

See:
https://bbs.archlinux.org/viewtopic.php?id=208214

"Installed: 
purple-facebook-git (AUR)
telepathy-haze

I've created two files:
/usr/share/accounts/services/kde/ktp-haze-facebook-im.service

<?xml version="1.0" encoding="UTF-8"?>
<service id="ktp-haze-facebook-im">
  <type>IM</type>
  
  <name>Chat</name>
  <icon>im-facebook</icon>
  <provider>ktp-haze-facebook</provider>
  <translations>kaccounts-providers</translations>

  <template>
      <group name="telepathy">
          <setting name="manager">haze</setting>
          <setting name="protocol">facebook</setting>
      </group>
      <group name="auth">
          <setting name="method">password</setting>
          <setting name="mechanism">password</setting>
      </group>
  </template>
</service>

and
/usr/share/accounts/providers/kde/ktp-haze-facebook.provider

<?xml version="1.0" encoding="UTF-8"?>
<provider id="ktp-haze-facebook">
    <name>Facebook</name>
    <icon>im-facebook</icon>
    
    <description>Chat account in Facebook</description>
    <translations>kaccounts-providers</translations>
    <plugin>ktpaccountskcm_plugin_kaccounts</plugin>
</provider>

That is it. After that you can add facebook to in Online Accounts.
The only problem is that group chats do not work."

Could this be automated somehow so you don't have to search for this solution and do it manually?
Getting the other plugins to work would also be really nice.