Coder Social home page Coder Social logo

Comments (7)

hantu85 avatar hantu85 commented on June 2, 2024

Currently, there is no integration between address book from macOS and Beagle IM. I was thinking about this kind of integration (even with the possibility to add contacts to the address book based on contacts added to the Beagle IM roster), however, API for searching/managing the address book in macOS and iOS is not very pleasant to use, especially searching for matching contacts based on the XMPP address.

Due to that and the fact that many people these days are protecting their privacy and denying apps access to address books, I've decided to not work on this as would take time, and not many people might decide to use it.

On the other hand, while adding a person to the roster, I was wondering about fetching added person's VCard/nickname from their XMPP server (there are XEPs for that) and using that as the contact name in Beagle IM (by default).

from beagle-im.

st52550 avatar st52550 commented on June 2, 2024

I understand your attitude with macOS Address Book. Yeah, there is a VCard (First name, Last Name, Nickname) in Kerio contacts and they are certainly also on other servers. They are displayed in Kerio contact list in web version of XMPP chat. So it would be great if there is possibility to read this information via XEP and display it in desktop app Beagle IM. It may not be the default option but as a checkbox in settings for example.

For now, is there any file (in macOS Application Support, Preferences,...) with saved contacts list which can be copied to another computer to the same location and correctly read by Beagle IM? What is the source of Beagle IM contacts names? I was wondering why few of my accounts is displayed with it's person names after first start of Beagle IM. I think that I renamed these accounts manually in Adium or Messages, so is there any shared space that Beagle IM reads for contacts information?

from beagle-im.

hantu85 avatar hantu85 commented on June 2, 2024

List of contacts with their names is stored locally by BeagleIM in SQLite3 database, but it is also sync with other XMPP clients with use of contacts list hosted on the XMPP server. This is called roster in XMPP and it is defined in XMPP RFC.

As you mentioned VCards, Beagle IM supports 2 XEPs describing VCard implementation (VCardTemp and VCard4) so it can already fetch and display your contact VCards. This can be seen in the contact list window, when you open context menu for the contact and select Details or in chat window, by clicking on (i) button in the top right corner.

from beagle-im.

st52550 avatar st52550 commented on June 2, 2024

It's clear to me. So it looks like there is no support of VCardTemp or VCard4 although I found on Google that Kerio Connect should support VCardTemp. Maybe it uses it's own format which is supported and integrated to macOS Address Book only. I'm posting the image with contact details. It only displays username and there aren't any additional information in sqlite. In Kerio Connect are information such a name, phone etc. filled.

So the solution could be the one you pointed with fetching user's VCard /nickname or this is exactly the same XEPs that are already implemented (VCartTemp & VCard4)?

img

from beagle-im.

hantu85 avatar hantu85 commented on June 2, 2024

So the solution could be the one you pointed with fetching user's VCard /nickname or this is exactly the same XEPs that are already implemented (VCartTemp & VCard4)?

This is the same thing that I was suggesting to do. The only difference is that we now display vcard data only in this popup windows and not in the roster or in chat.

It only displays username and there aren't any additional information in sqlite. In Kerio Connect are information such a name, phone etc. filled.

You can try clicking on this "refresh button" (circular arrow), to force Beagle IM to refetch data from the server. Maybe that would help.

So it looks like there is no support of VCardTemp or VCard4 although I found on Google that Kerio Connect should support VCardTemp. Maybe it uses it's own format which is supported and integrated to macOS Address Book only.

I have no idea what or how was implemented in Kerio Connect. We are developing XMPP client that follows XMPP specification and extensions of this specification published by the XSF so that it is compatible with XMPP servers that are also following standards.

from beagle-im.

st52550 avatar st52550 commented on June 2, 2024

I solved the problem with VCards. There is an option in Kerio Connect to public the contact in the GAL. Then it fetch the account's name correctly via XEP vcard-temp. So in the contact details in Beagle IM is everything right. If anyone reading this post has similar issue with Kerio, I hope that it will help you.

Can I ask you to add the option (pointed in your first answer) in Beagle IM to use these fetched names in Beagle IM's Contact List - option in settings or default - in some of your next releases? I would be very grateful. Thanks for the clue to find the problem.

from beagle-im.

st52550 avatar st52550 commented on June 2, 2024

Hello hantu85,

I'm closing this issue because everything is right on your side and the app is awesome! The last point with the names in Beagle IM contacts list was solved by restoring every account's IM contacts list in Kerio XMPP server, so the solution was on the server side all the time.

I wish you much success in your professional and personal life.

from beagle-im.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.