nykbfor the Tigase client for ios is it possible to know if a connection is disconnected ?
bhaveshsguptahas left
kikuchiyohas left
nykbis there a way to know MessageSendingClient client is disconnected ?
bhaveshsguptahas joined
Wojtek@nykb in the settings account has a dot indicating whether it's connected or not (or connecting);
Wojtekhas left
sonnyhas joined
nykbokay i found out the XMPPClient has a variable called state "SocketConnector.State"
nykbwith this im able to know the state of the client
pep.Wojtek, why do you use @ btw? Is that a bug in your client?
nykbi was looking for this because , sometimes i try to send messages , but it does not send , i suspected the client was disconnected
nykbis it possible to keep the client connected as long at the application is active ?
nykbi mean the XMPPClient for swift iOS
nykbis it possible to keep it connected ?
pulkomandyhas left
pulkomandyhas joined
kikuchiyohas joined
sonnyhas left
bhaveshsguptahas left
bhaveshsguptahas joined
pulkomandyhas left
pulkomandyhas joined
nykbhas left
kikuchiyohas left
kikuchiyohas joined
bhaveshsguptahas left
Wojtekhas joined
bhaveshsguptahas joined
Wojtekpep. I guess "force of habit" of mentioning someone from "other places"
pep.ok
Wojteknykb - it should stay connected as long as it is active (in the foreground, limitation of the iOS). once you push it to the background the os will kill the connection after a short delay
Wojtekpep. also - BeagleIM gives you a dropdown with nicknames after typing "@" so it's easier to mention someone
pep.Why do you need to send @ on the wire?
pulkomandyhas left
pulkomandyhas joined
ZashConverse.js does this too but doesn't include the @ in the actual message
Wojtekpep. does it actually matter if it's there or not?
kikuchiyohas left
pep.It does. You're putting arbitrary semantics into body
jonas’Wojtek, most importantly, some clients will not match in that case
pep.Of course it's not the same nick anymore :)
jonas’Wojtek, most importantly, some clients will not match for a highlight in that case
ZashAnd it's kinda annoying
pep.You'd expect other clients to recognize that arbitrary character and continue operating as if it wasn't there
pep.-> arbitrary semantics
WojtekZash - why it's annoying?
pep.Why is "not being highlighted" annoying? (when it's actually aimed at you)
pep.Is that a question
WojtekI'd argue that "@" shouldn't be treated as part of word (in the same sense that it's not part of localpart, domain or resource name)
WojtekI thought that "including 'a" per se was annoying, not the consequences
Wojtekmy bad
jonas’Wojtek, but I can have an `@` in my nickname
Link MauveWojtek, the rules for highlight matching are very ad-hoc, no two clients will do the same.
jonas’what if I’m called @pep.?
Link Mauve\b or \< in a regex might match the beginning of @pep.’s nick, or not, I’m not sure.
bhaveshsguptahas left
Link MauveIf I wrote about “somethingpep.” you may or may not highlight pep. for instance.
Link MauveHighlighting is still very much not a solved problem.
bhaveshsguptahas joined
WojtekLink Mauve - I know, Beagle for example highlights "sequences of characters" which is convenient in a way (if someone tries to add some sort of flexion to the nickname for example)
ZashWhat if the attention element had a target nickname for muc
Link MauveReferences do fix that on the sending end, so that for instance when you press Tab to complete “p” into “pep.” it adds said metadata for pep.’s client to understand that this specific chunk of codepoints is a hl to him.
Link MauveConverse.js does use it the way you’re used to, you type @p, enter, and it puts “@pep.” in the input field but on the wire sends “pep.” with a reference attached.
Link MauveWojtek, right, some languages do declinate names (including nicknames) and using \bnick\b would be very bad in that case.
Wojtekjonas’ that's quite tricky
Wojtekbut as stated - this is very much not solved problem
jonas’\bnick\b also breaks with my current nickname