mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
ffa0c2136e
It was always eating two characters more than needed.
A toxURI passed to handleToxURI always starts with "tox:", it's checked in the handleToxURI callers. So here we need to remove that prefix, that's long 4 characters and not 6.
The previous code was meant to handle tox:// and tox: cases, but the tox:// case is invalid and should not be handled (see #2118).
Fixes:
|
||
---|---|---|
.. | ||
autoupdate.cpp | ||
autoupdate.h | ||
avatarbroadcaster.cpp | ||
avatarbroadcaster.h | ||
toxdns.cpp | ||
toxdns.h | ||
toxme.cpp | ||
toxme.h | ||
toxuri.cpp | ||
toxuri.h |