-
lovetox
Ah TIL
-
lovetox
And you display buttons then for the commands?
-
lovetox
Or a drop-down?
-
jjj333_p (any pronouns)
> And you display buttons then for the commands? thats what telegram does ↺
-
jjj333_p (any pronouns)
https://downloadable.pain.agency/file_share/019fb706-3175-7162-bb5c-ca1eb81ab34e/4f6c974f-91fe-4012-a07d-ede4e2bcf357.png
-
lovetox
I think that example would be better with a dropdown
-
lovetox
Bots can now also send data forms
-
lovetox
A single choice list can be interpreted by a client as a list of buttons for example
-
jjj333_p (any pronouns)
> I think that example would be better with a dropdown possibly ↺
-
jjj333_p (any pronouns)
i was just saying it is what telegram does
-
jjj333_p (any pronouns)
it seems that telegram has some mechanism for the bot dictating what the layout is, and also it tries to make messages interactive and act like the form themselves somehow, but also everythings a chat message and bot commands are / commands but you have a list of them somehow its confusing
-
jjj333_p (any pronouns)
telegram is an ...interesting platform
-
lovetox
I think adhoc has benefits in multi stage flows, single stage, simply sending a form and client answers with form seems easier?
-
lovetox
At least if it's whished that the flow shows in the chat
-
jjj333_p (any pronouns)
i mean this is multistage sometimes too, no matter though
-
jjj333_p (any pronouns)
i just wish for it to be easier to open an adhoc command list on a user
-
lovetox
With adhoc the message is always just a gate to another dialog where I do adhoc, it would be hard to display the interactions in the chat
-
jjj333_p (any pronouns)
🤷 tbh i think thats a little up to implementation differences
-
lovetox
> i just wish for it to be easier to open an adhoc command list on a user then the message with adhoc commands is the best
-
jjj333_p (any pronouns)
> i just wish for it to be easier to open an adhoc command list on a user okay in dms its right where i expected ↺
-
jjj333_p (any pronouns)
https://downloadable.pain.agency/file_share/019fb726-81f8-7833-989d-7cd1361c1572/96c68f98-1423-44c6-a895-b3e76d53c053.png
-
lovetox
I'm open to implementing that in Gajim
-
jjj333_p (any pronouns)
would be nice to having it on a message though, especially if it worked in mucs
-
lovetox
As pointed out you can include commands in a message
-
jjj333_p (any pronouns)
> As pointed out you can include commands in a message yes ↺
-
jjj333_p (any pronouns)
im saying it would be nice to use that
-
lovetox
But is it just so the user easier discovers the commands?
-
lovetox
Because we could solve that problem also just in the client
-
lovetox
In what situation would the bot send this message
-
jjj333_p (any pronouns)
ive not read the spec, but im thinking it could be a unique to an interaction. i dont know what that would be used for though
-
jjj333_p (any pronouns)
similar to like how bots on discord often use ✅ and ❌ reactions for interactions or something
-
jjj333_p (any pronouns)
> ive not read the spec, but im thinking it could be a unique to an interaction. i dont know what that would be used for though unique to the message, like context dependent adhoc command list ↺
-
jjj333_p (any pronouns)
again no idea how this would look though
-
lovetox
I can imagine stuff like you join a new server and then a bot sends you a message, hey fill out this form
-
jjj333_p (any pronouns)
yeah something like that is a good example
-
jjj333_p (any pronouns)
though in this case you could just use muc pms and text input would probably be sufficient
-
singpolyma
> And you display buttons then for the commands? Yeah I do ↺
- erik wonders which client singpolyma is developing
-
moparisthebest
you'll get a shorter list if you ask which client he isn't developing
-
Sunglocto
> erik wonders which client singpolyma is developing all of them
-
erik
well, not the one that lovetox is developing, I'd say, because otherwize he'd not be asking the buttons-for-commands question.
- erik knows lovetox works on Gajim
-
lovetox
cheogram
-
moparisthebest
cheogram android, and snikket, and borogrove (formerly snikket sdk) and like a dozen clients on top of that ?
-
luca
Does anyone have some code example for implementing XEP-0115 verification string generation? https://xmpp.org/extensions/xep-0115.html#ver
-
moparisthebest
probably could just ask your local LLM to do it for you
-
theTedd
Sections 5.2 and 5.3 have worked examples
-
theTedd
(assuming you want it for testing)
-
luca
Yeah that's one thing, but it would also be nice to know if this is actually used in the wild and everyone doesn't just hardcode strings and checks everything but that hash
-
raphael
I’m experiencing weird behavior with a bot… I have multiple clients set up (Fluux on my computer + monal on my computer + monal on my phone) and have set up an “echo” bot where when I receive a message I just reply “got a message: …”, and for some reason the messages seem to only appear on clients I don’t actively have open
-
raphael
like: - I message the bot via fluuux - the reply only comes to monal is this some “obvious” kind of failure mode that I should be aware of? maybe some XEP I have or don’t have active
-
theTedd
1. check that Carbons (XEP-0280) is supported and active; 2. check the status priority of each client (ideally they should all be 0)
-
raphael
Oh OK we might have a winner here, the desktop client seems to have a priority of 50 (vs mobile clients with priority 0)… hmm
-
moparisthebest
raphael: sounds like your bot doesn't enable carbons, you can just send the stanza to do so don't need to bother checking anything
-
moparisthebest
priority doesn't matter with carbons
-
raphael
ahhh my bot has to enable carbons as well, gotcha
-
vpzom
> Yeah that's one thing, but it would also be nice to know if this is actually used in the wild and everyone doesn't just hardcode strings and checks everything but that hash I have a partial implementation in Deepish: https://gitlab.com/vpzomtrrfrt/deepish/-/blob/b945baa2d7bc93de3744c6e2b2f3404c40495d5f/src/util/connection.ts#L3461 ↺
-
vpzom
but yeah in practice I only ever call it with constants
-
singpolyma
> ahhh my bot has to enable carbons as well, gotcha Not if it's just sending. Which it sounds like it is ↺
-
raphael
https://drop.szsfan.xyz/dbg.log here’s a current log of what’s going on, I’m going to fork this to make this a bit more usable tho/clean this stuff up
-
raphael
lines with "DEBUG: socket sent “ are what I’ve been sending over the wire