[SailfishDevel] Adding telepathy connection manager

Teemu Varsamäki teemu.varsamaki at gmail.com
Mon Jan 5 19:45:33 UTC 2015


Some update on the issue. It seems the problem using modified jabber plugin
is, that I have to write the password before creating the account.
Connection manager the tries to use this password to log in, which
obviously fails.

I modified it a little bit to be able to leave the password field blank
while creating the account. This took me one step forward, now it creates
the account, code request is sent and it doesn't try to log in. After this
the account in the settings says "not signed in" as it should. Then I
update credentials and write the code from the sms as password but the
updated credentials are not sent to the connection manager. Is the
connection manager misbehaving or am I just doing something wrong?

-Teemu

On Sun, Jan 4, 2015 at 8:02 PM, Teemu Varsamäki <teemu.varsamaki at gmail.com>
wrote:

> I almost managed to get it to work.
>
> Basically I just copied all the stuff from Jabber plugin and changed
> connection manager and protocol from gabble and jabber to morse and
> telegram. Now it creates the account, and requests the code etc. Everything
> seems to work as they should, but now I have no idea how to input the code.
> Any ideas?
>
> -Teemu
>
>
> On Sun, Jan 4, 2015 at 12:46 PM, Tone Kastlunger <
> users.giulietta at gmail.com> wrote:
>
>> I believe only the UI is jolla-based; the MW is nemo?
>>
>>
>> On Sat, Jan 3, 2015 at 7:00 PM, Gabriel Böhme <
>> m.gabrielboehme at googlemail.com> wrote:
>>
>>> "Just" I was looking for it some time ago, but it seems not to be as
>>> easy as you might think. It seems that the accounts part is based on nemo
>>> mw, but modified by Jolla.
>>>
>>> Maybe I'm wrong, in this case I'm sorry and would be realy happy if you
>>> could point to some example, project, app, code that shows how to do this.
>>>
>>> Thanks a lot.
>>>
>>> Gabriel.
>>>
>>> Am Sa. Jan. 3 17:54:22 2015 GMT+0100 schrieb Андрей Кожевников:
>>> > You just need to create accounts plugin for it.
>>> > 03.01.2015 14:56 пользователь "Teemu Varsamäki" <
>>> teemu.varsamaki at gmail.com>
>>> > написал:
>>> >
>>> > > Hi,
>>> > >
>>> > > I found this Telegram connection manager project
>>> > >
>>> https://akulichalexandr.wordpress.com/2014/05/26/telegram-connection-manager-gsoc-2014-task-overview/comment-page-1/#comment-63
>>> > > and just out of curiosity compiled it for Sailfish. It seems to
>>> work, I can
>>> > > add an account with mc-tool and request online status etc, but the
>>> account
>>> > > does not show up in settings and I can't control its presence from
>>> the
>>> > > notification view.
>>> > >
>>> > > Is it possible to use the connection manager from Sailfish UI?
>>> > >
>>> > > Best regards,
>>> > > Teemu Varsamäki
>>> > >
>>> > >
>>> > > _______________________________________________
>>> > > SailfishOS.org Devel mailing list
>>> > > To unsubscribe, please send a mail to
>>> > > devel-unsubscribe at lists.sailfishos.org
>>> > >
>>> >
>>>
>>> --
>>> Gesendet von meinem Jolla
>>> _______________________________________________
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to
>>> devel-unsubscribe at lists.sailfishos.org
>>>
>>
>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscribe at lists.sailfishos.org
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20150105/b8c30db8/attachment.html>


More information about the Devel mailing list