hoehermann / purple-signald

Pidgin libpurple bridge to signald.
GNU General Public License v3.0
153 stars 19 forks source link

Add buddy list download (for usage with Bitlbee and more) #2

Closed Strykar closed 4 years ago

Strykar commented 5 years ago

I'm trying to get this plugin to work with Bitlbee, which can use most Pidgin/libpurple plugins.

I'm running Arch linux and have the latest Bitlbee installed, which uses libpurple-plugins to connect to different messaging networks like Discord, Telegram, Steam, Skypeweb and more.

I've setup signald, linked it to my phone's Signal account, and I can send messages via nc and the recipient receives them fine. Bitlbee can see the libpurple-signald plugin, and I created a hehoe-signald account (in Bitblee) which shows up as connected. However, I do not see Signal's user/group list or messages sent to me via Bitlbee or in &hehoe-signald.

@hoehermann I understand you may have only tested with Pidgin, but I'd be happy to help get this working with Bitlbee. @EionRobb Any tips on where to start troubleshooting this? Could the lack of persistent rosters cause this?

demure commented 5 years ago

Hi, just another user here. I have bitlbee-libpurple, signald, and libpurple-signald working on debian sid. First, we should probably note the following from libpurple-signald's readme:

Missing Features

  • signald configuration (i.e. initial number registration)
  • Integrating with the buddy list
  • Proper group chats (right now you can send and receive group messages, but you cannot tell which one of the group members is answering)
  • Anything beyond simple messaging, really

So no buddy list integration yet.

I'll go ahead and add my workflow for renaming a number in biltbe here though, in case that is useful.

add hehoe-signald +12223334444
rename _12223334444 name-sig

(yes, the add has a '+', and the rename has a '_')

EDIT: After reconnecting to signal in bitlblee I often have to reply to a conversation from my phone, after which I can then continue from bitlbee.

hoehermann commented 5 years ago

@Strykar Is the information given by demure sufficient for your needs?

Strykar commented 5 years ago

@hoehermann Unfortunately, no, but it appears it's not going to be trivial either.

hoehermann commented 5 years ago

Can you see what you need? Like for example buddy-list integration (as in "pull known contacts from server")?

Strykar commented 5 years ago

@hoehermann Buddy-list integration is what's missing and tedious to setup each time (for each contact) the client (IRC ) application starts.

hoehermann commented 5 years ago

I have some time off in August – I might be adding the buddy list integration.
If you want it sooner, I'd gladly accept your pull request. :)

Strykar commented 5 years ago

Oh man that'd be sweet, sounds like even Pidgin users would benefit. I'm no programmer or I would've gladly sent a PR :)

hoehermann commented 4 years ago

Added with https://github.com/hoehermann/libpurple-signald/pull/4.