You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A truncated version of the cacheBody is stored in the variable body here, which is never used afterwards.
Wasn't caught by eslint / editor greying it out because of #L1117, but it's essentially not accomplishing anything.
It's unclear to me if this part should just be removed, or if it is desired to strip the cacheBody before storing it in the eventCache. If the latter is true, this should probably use trimString() instead, like is done here
The text was updated successfully, but these errors were encountered:
matrix-appservice-irc/src/bridge/MatrixHandler.ts
Lines 1116 to 1120 in 062f3ac
A truncated version of the cacheBody is stored in the variable
body
here, which is never used afterwards.Wasn't caught by eslint / editor greying it out because of #L1117, but it's essentially not accomplishing anything.
It's unclear to me if this part should just be removed, or if it is desired to strip the
cacheBody
before storing it in theeventCache
. If the latter is true, this should probably usetrimString()
instead, like is done hereThe text was updated successfully, but these errors were encountered: