-
potato
does openpgp work in MUCs?
-
☭Mike Yellow
> does openpgp work in MUCs? No.
-
kurion
Please correct me if I have wrong conclusions here. 1. to check a contact's status we will need its resources with `resources = contact.iter_resources()` 2. Each resource can have different presence states and statuses.
-
kurion
I tried to access an offline contact's presence state with ``` resources = contact.iter_resources() for resource in resources: presence_state = resource.show.value print(f'{contact}s presence is {presence_state}') ```
-
kurion
But nothing shows up.
-
kurion
Is it that an offline contact doesn't even have a `resource` ?
-
kurion
I thought the `presence_state` of a currently offline contact would be 'offline' when checked with `resource.show.value`
-
kurion
and I checked with len(resources) that an offline contact has no resources
-
kurion
So I am thinking I've to check `len(resources) == 0` to decide if a contact is offline.
-
kurion
But then the question arises, when exactly is `resource.show.value = offline`?
-
lovetox
Iter_resources ignores offline resources
-
lovetox
You don't need the status of resources✎ -
lovetox
You don't need the show of resources ✏
-
lovetox
Simply access contact.show it will calculate a value across resources
-
lovetox
A faster check is contact.is_available
-
kurion
Oh, thanks
-
kurion
But `print(f'{contact} has {contact.status}')` gives ``` AttributeError: 'BareContact' object has no attribute 'status' ``` I am doing this in start_chat.py
-
kurion
oh sorry, let me check `contact.show`
-
kurion
It does the job. Thanks a lot
-
kurion
When I make a change to a py file, suppose `start_chat.py`, I have to restart Gajim and press Ctrl+N to check if the changes reflect in GUI as intended. Is there a quicker way to check?
-
fjklp
is it possible to send a muc invite from gajim?
-
lovetox
kurion: not if you change python code
-
lovetox
fjklp: yes from the group chat roster
-
lovetox
There is a big button
-
kurion
lovetox: I see
-
fjklp
thanks
-
bot
Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *4c4db6e3* < https://dev.gajim.org/gajim/gajim/-/commit/4c4db6e36f12769e8694d127c1939606bdf053db > cfix: Roster: Don't import BareContact from types Import only works with non-runtime code Fixes #11589
-
fjklp
has anyone notice a discrepancy between the last chat message and the chat snippet in the chat list?
-
fjklp
I had this happen a few times recently
-
fjklp
is it possible to send a contact request via a direct chat, direct chat via muc, or muc view?
-
fjklp
something other than the "Add Contact" in the + menu
-
☭Mike Yellow
> is it possible to send a contact request via a direct chat, direct chat via muc, or muc view? fjklp, as long as you can get the user address, you can.
-
☭Mike Yellow
Right-click the user who are not you contact in the left panel.✎ -
☭Mike Yellow
Right-click the user who are not your contact in the left panel. ✏
-
☭Mike Yellow
Right-click the user who is not your contact in the left panel. ✏
-
fjklp
for example, if I right click a user in this muc, there is no option to send a contact request
-
☭Mike Yellow
As for half-anonymous room in occupant private message, get the user's trust then ask they for their user address.✎ -
☭Mike Yellow
As for half-anonymous room in occupant private message, get the user's trust then ask them for their user address. ✏
-
☭Mike Yellow
A few users would like to write their user address into their vCard, so you can get their user address directly even in half-anonymous room without saying “hello” to them.
-
fjklp
if I am in a direct chat via muc, I see no option to send a contact request from this view, which seems like a feature that I would expect to exist
-
☭Mike Yellow
fjklp, That is impossible. You MUST know the user's address first!
-
fjklp
this sounds like a broken system if true
-
☭Mike Yellow
And it is a half-ANONYMOUS room. You do not know others' address except you are a moderator in this room.
-
☭Mike Yellow
> I see no option to send a contact request from this view Just type some words to say “Hello” and ask for the address.
-
fjklp
imagine if you could do this with a buttotn✎ -
fjklp
imagine if you could do this with a button ✏
-
☭Mike Yellow
A plugin for you to send “Hi, I want your address.” directly as a button in occupant private chat?
-
☭Mike Yellow
The plugin “Quick replies” would satisfy you.
-
Mark_
Hi, I have a question. Is it possible to display the names/meanings of the emojies in the emoji selector when you hold the mouse over them? I think many people feel the same as I do, that I don't always know the exact meaning or name. It would be awesome if the meaning was also displayed in the chat 🙃️.
-
Mark_
Another thing but also related to the emoji selector is the size of the emojies or its window. Under Gnome with GTK, the emojies are displayed nice and big, but in KDE they are a bit small, so I sometimes have to move a bit closer to the screen. Is it possible to resize the emojies or the window so that my blind eyes can distinguish the yellow bumps 😆️
-
Mark_
Another thing but also related to the emoji selector is the size of the emojies or its window. Under Gnome with GTK, the emojies are displayed nice and big, but in KDE they are a bit small, so I sometimes have to move a bit closer to the screen. Is it possible to resize the emojies or the window so that my blind eyes can distinguish the yellow bumps 😆️
-
Mark_
oops, that was one time too much
-
fjklp
> Hi, I have a question. Is it possible to display the names/meanings of the emojies in the emoji selector when you hold the mouse over them? I think many people feel the same as I do, that I don't always know the exact meaning or name. It would be awesome if the meaning was also displayed in the chat 🙃️. I have been wanting this functionality many times
-
fjklp
also maybe hovering over emojis in chat, not sure if that's possible
-
fjklp
names with short code would be nice✎ -
fjklp
names and short code would be nice ✏
-
Mark_
> also maybe hovering over emojis in chat, not sure if that's possible that was my thought too. I also don't know if and how this is feasible, that's why I described it this way.
-
fjklp
there are infinite things
-
fjklp
like, type :thu and you get an emoji menu with the thumbs down emoji in 6 different skin tones
-
fjklp
if you want thumbs up, you have to type ':thumbs u' to get them to show
-
fjklp
maybe I'm being picky, but picking one skin tone and only showing emojis in that tone would eliminate a lot of useless ones
-
lovetox
Please direct your requests for emojis to the gnome community
-
lovetox
Emoji picker is a GTK standard widget, we can not influence it
-
lovetox
Theme creators may have influence on the emoji size in the picker
-
Mark_
ok, thanks. Is there a special repo where i can write an issue?
-
Mark_
is it this one you use: https://gitlab.gnome.org/GNOME/gtk/-/blob/c1d6160bd4e7d480193083449f0018b02c6cb643/gtk/gtkemojichooser.c
-
lovetox
Yes
-
Mark_
ok 👍, then i'll see what can be done about it 😇️
-
Mark_
I just thought of something else while I was working. Under Gnome and KDE I can temporarily disable the display of messages. I know from work (unfortunately with Windows 😭️, but what else would you expect) that some programmes recognise this and then adjust their own status (Do not disturb, Busy or whatever). Is it possible to integrate this into Gajim as well?
-
lovetox
You mean notifications?
-
lovetox
Does it not work when you set Gajim to DND
-
Mark_
Yes, that already works. I rather meant that it is automatically recognised so that the status does not have to be set to "I am busy" in each application individually.
-
Mark_
If I mute the notifications globally (KDE, Gnome) at the moment, my contacts don't get to know that I'm busy and therefore can't read their messages and perhaps don't want to be disturbed.
-
aquatarkus
hey, if there's anyone here using Hyprland, you can use these windowrules to make only the main Gajim window tile while the others (popups, settings etc) float: windowrulev2 = float,class:org.gajim.Gajim windowrulev2 = tile,title:Gajim very easy but it's been a while and for some reason I hadn't thought of this before, so I thought I would share in case it's useful to someone else
-
Mark_
> Please direct your requests for emojis to the gnome community So, I've written an issue now, let's see if it meets with interest. But it still occurred to me, would it be possible from your side to display the names of the emojies in the chat when you move the mouse over them?
-
lovetox
Mark_, no
-
☭Mike Yellow
How to delere a room avatar?
-
lovetox
Only possible via XML console currently I think
-
☭Mike Yellow
I can not get the room configration form after setting hide owners' presence status. Would that be considered as a bug?
-
lovetox
never heard of that config option
-
lovetox
on what server is this?
-
☭Mike Yellow
Ejabberd.
-
lovetox
and i doubt that would a gajim bug, maybe a server one
-
lovetox
because it does not send the form anymore
-
☭Mike Yellow
If I remember correctly, Tigase and Openfire also have such kind of options.
-
☭Mike Yellow
I can still get the form from Psi+.
-
☭Mike Yellow
>after setting hide ~owners'~ *moderators'* presence status.
-
☭Mike Yellow
It seems not severe. I tried again, no problem this time.
-
☭Mike Yellow
It looks like it is not working when the occupant panel does not show myself.
-
☭Mike Yellow
But I joined again, it showed me. They everything is normal now.
-
☭Mike Yellow
Nevermind.
-
☭Mike Yellow
It looks like the occupant panel will not show myself if: The room configuration set hide moderator's presence status; And there is another client still in room when Gajim is joining.✎ -
☭Mike Yellow
It looks like the occupant panel will not show myself if: The room configuration set hide moderator's presence status; And there is another client still in room when Gajim is joining in the meanwhile. ✏
-
☭Mike Yellow
It looks like the occupant panel will not show myself if: The room configuration set hide moderator's presence status; And there is another client (Psi+) still in room when Gajim is joining in the meanwhile. ✏
-
☭Mike Yellow
Weird. Conversations and Dino will not cause this situation.
-
lovetox
i dont know what is expected of this config option
-
lovetox
obviously you want to see yourself
-
☭Mike Yellow
If I can not see myself, I can not get the configuration form too.
-
lovetox
why?
-
lovetox
are you saying then it doesnt work
-
lovetox
ok let me test this
-
☭Mike Yellow
> are you saying then it doesnt work Yes.
-
lovetox
Are you talking about the option "Roles for which Presence is Broadcasted"
-
lovetox
i dont see "hide presence status"
-
lovetox
ejabberd im talking about
-
☭Mike Yellow
> Are you talking about the option "Roles for which Presence is Broadcasted" Yes.
-
☭Mike Yellow
Well. I should have learnt to use the terms.
-
lovetox
i discovered a bug in the dataform impl
-
lovetox
Gajim can not set the broadcast field correctly
-
☭Mike Yellow
Did not I report this bug twice in this room?✎ -
☭Mike Yellow
Have not I report this bug twice in this room? ✏
-
☭Mike Yellow
Well... Maybe my English description was bad.
-
☭Mike Yellow
> Have not I report this bug twice in this room? I mean this bug: > Gajim can not set the broadcast field correctly I have reported it twice many days ago.
-
bot
Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *80303100* < https://dev.gajim.org/gajim/gajim/-/commit/80303100dce35b23e3a5384b6c48fe65b619aa31 > fix: Dataform: Correctly serialize multi list fields
-
lovetox
Mikaela, yeah only because you report something, nobody jumps up and fixes something✎ -
lovetox
☭Mike Yellow, yeah only because you report something, nobody jumps up and fixes something ✏
-
lovetox
thats why its good to report issues on the tracker
-
lovetox
so people dont forget
-
lovetox
it should be fixed in the next version of Gajim
-
lovetox
we will release it in a few days
-
☭Mike Yellow
My bad.
-
lovetox
thanks for the report :)
-
lovetox
twice !
-
☭Mike Yellow
Glad it is fixed. :)
-
bot
Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *dc4260e2* < https://dev.gajim.org/gajim/gajim/-/commit/dc4260e297dd7858ecaee6edfb6df3d8d0b8275f > chore: Update translations
-
aquatarkus
There's a very minor issue with gajim's chat list UI. Special characters in the display name will cause the chat to be a few pixels taller than others in the chat list.
-
aquatarkus
ocd stuff really
-
aquatarkus
https://sure.im:443/upload/29495f06-ce90-472e-8bd9-fd83acacb410/85f87253-ba07-437a-a585-c1cdc6d85a67.png
-
aquatarkus
but it's a thing
-
aquatarkus
I'll make an issue
-
cal0pteryx
please don't. I consider this a non-issue
-
aquatarkus
alright, I won't then
-
bot
Daniel Brötzmann pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *befd5b00* < https://dev.gajim.org/gajim/gajim/-/commit/befd5b00ad74b2843dd16886af430b6fa5671edd > fix: Search: Don't fail while closing if no chat has been loaded before Fixes #11588
-
jstein
perhaps https://dev.gajim.org/gajim/gajim/-/issues/11586 depends on the version. I tested with 1.7.3.
-
cal0pteryx
jstein, I applied some changes for that screenshot (no line length, for example)✎ -
cal0pteryx
jstein, I applied some changes for that screenshot (no line length limit, for example) ✏
-
jstein
cal0pteryx, thank you for testing. You mean you fixed it and then made the screenshot?
-
cal0pteryx
Yes. But I don't know if that looks better
-
jstein
cal0pteryx, of course it looks better, if the space is used. Thanks
-
jstein
does 1.8.0 depend on this lib https://github.com/gkdr/libomemo ?
-
lovetox
no
-
lovetox
our dependencies are written in the README.md in the repo
-
jstein
when I try to start 1.8.0, it claims that it can not import the omemo lib
-
lovetox
you need omemo-dr
-
lovetox
https://pypi.org/project/omemo-dr/
-
jstein
it is not bundled, correct?
-
marmistrz
What's currently the state of the art XMPP client for iOS/Mac? Should I recommend Monal or Beagle/Siskin to an Apple-using friend?
-
lovetox
jstein, no
-
lovetox
atleast not on linux
-
lovetox
hm no actually thats not right
-
lovetox
its bundled in flatpak :)
-
lovetox
so the question is how or from where do you install Gajim
-
jstein
he said flatpak :(
-
jstein
;-)
-
jstein
I started an environment with python3 -m venv ~/bin/pyenv source ~/bin/pyenv/bin/activate installed omemo-dr with pip in the environment started the system wide installed gajim 1.8.0 in the environment, but gajim 1.8.0 does not find the module
-
jstein
how can I tell gajim to use the module from the pyenv?
-
jstein
on https://pypi.org/project/omemo-dr/#description you write "Initial codebase was forked from https://github.com/tgalal/python-axolotl but has since been heavily rewritten." Could you add a short note, what/why it was heavily rewritten?