[OTR-dev] acoountname as 'ourname' in 'incorrect no-plugin' message
Ian Goldberg
ian at cypherpunks.ca
Wed Feb 22 19:34:51 EST 2006
On Thu, Feb 23, 2006 at 11:16:02AM +1100, Scott Ellis wrote:
> > Wow. That *is* a hack. Surely there's a way to extract your account
> > name, though?
>
> There really isn't the concept of an account name in miranda...I can get the
> protocol name, or the protocol unique identifier (e.g. UIN) which may not be
> human readable...or, which is about the closest thing, the name of the
> user's database file - but that is often 'default' or something like that.
In what protocols is the "unique identifier" not human-readable? Is
this not the string that someone else would type in to their IM client
in order to send you a message? If not, I'd think there's got to be a
way to determine what that string is.
> I guess what I'm suggesting is that the library do some processing of the
> query message even when the policy is 'never'.
>
> Sorry, I mean't the username is passed into the 'receieve' function, on the
> receiver side - i misunderstood your last post regarding that.
Ah, but that message (generated by the sender) needs to be readable and
make sense to someone that really *doesn't* have an OTR plugin. So you
can't rely on the receiver to fill in the sender's name properly.
- Ian
More information about the OTR-dev
mailing list