-
alexjames
I have cheogram and it suggested me to download this but I am unable to call phone numbers, only to text. Can someone help?
-
EmleyMoor
No, it's an IRC channel with many people in it
-
fjklp
but it's via a single bridge, right?
-
33777
EmleyMoor:
-
lovetox
EmleyMoor: check the chat settings
-
fjklp
is it not possible to download more chat history after the first sync when joining a new chat?
-
fjklp
by changing the sync threshold
-
fjklp
I deleted chat history in an attempt to get it to download more
-
fjklp
tried restarting gajim
-
fjklp
it was set to 1 day, and it downloaded 1 day of history
-
fjklp
now I can't get it to download anything
-
lovetox
No
-
fjklp
damn, too bad
-
kurion
I searched for `app.app.activate_action`
-
kurion
But having a hard time understanding how it works.
-
kurion
I commented out the code inside `if event.keyval == Gdk.KEY_r:` block
-
kurion
and put `app.app.activate_action('quote', GLib.Variant('s', self.get_text()))`
-
kurion
but nothing happens when I press 'r'.
-
kurion
my code is here:
-
kurion
https://conference.gajim.org:5281/pastebin/7342700c-0e24-43fe-a923-6b7790bd76ad
-
kurion
@lovetox
-
lovetox
Try app.quote
-
lovetox
Or win.quote
-
EmleyMoor
These "chat settings" to which you refer being where?
-
kurion
menu_items.append(( p_('Message row action', 'Quote…'), 'win.quote', text))✎ -
kurion
``` menu_items.append(( p_('Message row action', 'Quote…'), 'win.quote', text)) ``` ✏
-
kurion
it is win.quote✎ -
kurion
it is `win.quote` ✏
-
kurion
but `win` or `app.window` is not accessible from message.py.
-
kurion
Should I implement the `key-press-event` handling elsewhere?
-
kurion
I'm sure there's a legitimate reasoning behind having access to actions by using `win.`, `app.` prefixes. I guess, it reduces developer headache and helps modularize the codebase and is essential for a large codebase. But sadly, I do not seem to have a solid understanding of _how_s and _why_s of this kind of architecture (due to lack of experience with large OOP codebases, I guess). Could you please point to some resources that can be helpful or perhaps elaborate a little?✎ -
kurion
I'm sure there's a legitimate reasoning behind having access to actions by using `win.`, `app.` prefixes. I guess, it reduces developer headache and helps modularize the codebase and is essential for a large codebase. But sadly, I do not seem to have a solid understanding of _how_s and _why_s of this kind of architecture (due to lack of experience with large OOP codebases, I guess). Could you please point to some resources that can be helpful or perhaps, elaborate a little? ✏
-
kurion
Thanks in advance.✎ - kurion
-
lovetox
win and app are prefixes that gtk needs
-
lovetox
it depends if a action registered for the whole application, or only for the current active window
-
lovetox
We decided to register it on the window, so the actions cannot be triggered when you are in a different window, for example preference window
-
lovetox
i dont understand what you mean by "app.window" is not available
-
lovetox
is this a question not regarding quoting?
-
lovetox
the app module can be importet with
-
lovetox
from gajim.common import app
-
lovetox
if you want to know more about actions
-
lovetox
https://developer-old.gnome.org/gtk4/stable/actions-overview.html#id-1.3.4.3
-
lovetox
its for gtk4, but i dont think anything has changed
-
lovetox
oh this is the old doc site
-
lovetox
they migrated here https://developer.gnome.org/documentation/tutorials/actions.html
-
kurion
> the app module can be importet with > from gajim.common import app this line is there in message.py
-
kurion
but quoting action is in fact, `win.quote`
-
kurion
I guess I misunderstood the usage of `win.quote`.
-
kurion
I was trying `win.quote(........)`
-
kurion
But I need to use `app.app.activate_action('win.quote', .......)`
-
kurion
I just tried ``` if event.keyval == Gdk.KEY_r: app.app.activate_action('win.quote', GLib.Variant('s', self.get_text())) ```
-
kurion
it didn't work.
-
spacex123
How to add a contact so that the other party can chat with the other party without verification?
-
lissine
your question is unclear.
-
kurion
If I have set a global proxy and don't bother with *Advanced Settings* when adding new accounts, will the new account respect the global proxy?
-
lovetox
it should yes
-
lovetox
kurion, try `app.window.activate_action('win.quote', GLib.Variant('s', self.get_text()))`✎ -
lovetox
kurion, try `app.window.activate_action('quote', GLib.Variant('s', self.get_text()))` ✏
-
mjk
EmleyMoor: > These "chat settings" to which you refer being where? sandwich menu - Details - Settings
-
EmleyMoor
Not seeing anything useful there
-
mjk
'Notify on all messages'?
-
EmleyMoor
Not there
-
mjk
that's weird. are we looking at the same screen?
-
EmleyMoor
What's it next to?
-
mjk
https://http.xmpp.xyz:5281/upload/Lhy39_Y0AgaXVjK-k38CA8KD/dd048d4e-e6ac-4dac-9fbb-46a5ab887f4a.png
-
mjk
this is what I see for this chat's Details
-
EmleyMoor
It's there for XMPP groups like this, but not IRC channels like the offending...
-
lovetox
then its not recognized as groupchat
-
mjk
huh
-
lovetox
can you share the channel
-
lovetox
then we can join and see for ourself
-
EmleyMoor
#asterisk@irc.libera.chat
-
EmleyMoor
I agree, it's not the same as even other IRC channels
-
mjk
it gives me "This address is not reachable" in the start/join dialog
-
EmleyMoor
Even others on the same network. Of course, you need a gateway to access it through
-
lovetox
yes of course
-
lovetox
i just am not registered on libera
-
EmleyMoor
I've just told Gajim to "Forget" it. Will see what happens when I try again
-
mjk
> Even others on the same network. Of course, you need a gateway to access it through oh, lol, I didn't notice it's not a gateway'd jid
-
lovetox
EmleyMoor, works fine for me
-
lovetox
via irc.jabberfr.org
-
lovetox
i see all settings
-
lovetox
what gateway do you use?
-
mjk
yeah, that would depend on the actual gateway server✎ -
mjk
yeah, that would depend on the specific gateway server ✏
-
EmleyMoor
Unfortunately I've got a second instance I need to forget. A locally run biboumi
-
lovetox
damn sometime i really need get into improving irc support
-
EmleyMoor
Now apparently having trouble biboumi-side
-
andrey.g
If Gajim was offline for a little bit more than 7 days, it doesn't receive the Groupchat history of this GC. Instead only for the last 24 hours. This might be for privacy reasons, but I hope "last 7 days" could be configured as rounded up to "<8 days", so that if I close client on Sunday, 08:00 and open on the next Sunday, 22:00, I could still get the whole history without holes. https://conference.gajim.org:5281/muc_log/gajim/... seems already to be setup in a such way.
-
lovetox
andrey.g, you need to set a sync threshold in the groupchat settings
-
lovetox
yes for public MUCs it defaults to 24 hours
-
andrey.g
It was always infinite.
-
andrey.g
I have this issue only with this GC.
-
lovetox
really, maybe you can gather logs next time it happens
-
lovetox
then we can look what request was made
-
lovetox
and what was returned
-
lovetox
i would say this is maybe a server or archive bug
-
andrey.g
Would this be enough? <iq xmlns="jabber:client" to="gajim@conference.gajim.org" type="set" id="fd03e832-664e-4818-a3bf-d816929b2d91"><query xmlns="urn:xmpp:mam:2" queryid="cd486f16-1c77-434b-ab6e-cf8d429ebd11"><x xmlns="jabber:x:data" type="submit"><field type="hidden" var="FORM_TYPE"><value>urn:xmpp:mam:2</value></field></x><set xmlns="http://jabber.org/protocol/rsm"><max>70</max><after>8919f9fa-20fc-40c8-8297-e46518e91803</after></set></query></iq> <iq to='MYJID@MYSERVER/gajim.P0UTV5AE' from='gajim@conference.gajim.org' type='error' id='fd03e832-664e-4818-a3bf-d816929b2d91'><error type='modify'><item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
-
andrey.g
The last message I had in history from 04.07.2023 was: [00:13:44] lovetox: yes there should be no problems
-
andrey.g
The query stanza was sent on: 11.07.2023 09:38:39.
-
lovetox
weird that the server answers with not found
-
lovetox
but the muc log website does also not work
-
lovetox
maybe something wrong with the archive
-
lovetox
i notified asterix, maybe he can look into it
-
lovetox
the stanza id is correct, i have this also in my database
-
andrey.g
OK, thanks!
-
asterix
https://conference.gajim.org:5281/muc_log/gajim/ is back
-
asterix
but only one week of logs :/
-
lovetox
Ok thanks
-
lovetox
andrey.g: so as suspected we lost the logs on the server
-
asterix
but I have no idea why!
-
asterix
https://prosody.im/doc/modules/mod_muc_mam : muc_log_expires_after = "1w"
-
andrey.g
It's a pity! Could it be due to: > muc_log_expires_after and muc_log_cleanup_interval work like the in mod_mam. Added in 0.11.3. https://prosody.im/doc/modules/mod_muc_mam If this is the default value > muc_log_expires_after = "1w" hopefully it could be increased a bit.
-
asterix
probably ! a recent upgrade probably modified that. I set it to 1y
-
cal0pteryx
it often feels like this room loses it's participants every backup-monday. might be related to archive missing?✎ -
cal0pteryx
it often feels like this room loses its participants every backup-monday. might be related to archive missing? ✏
-
asterix
yes during backup, HD is too much used :/
-
andrey.g
asterix, thanks, that would be good.
-
EmleyMoor
At long last, fixed!
-
fjklp
> then its not recognized as groupchat this is what I suspected when I said > is this a 1 to 1 chat?