Open Limvot opened 6 years ago
handleThirdPartyImageRoomMessage says that either of url, path, or buffer are fine to be passed in, but then calls isFilenameTagged(path), which I believe throws an exception when path is undefined, causing the image message not to be sent. https://github.com/matrix-hacks/matrix-puppet-bridge/blob/d5af7b9f4d5a0f06ec75d470cecbc8acc58dea7c/src/base.js#L644
handleThirdPartyImageRoomMessage says that either of url, path, or buffer are fine to be passed in, but then calls isFilenameTagged(path), which I believe throws an exception when path is undefined, causing the image message not to be sent. https://github.com/matrix-hacks/matrix-puppet-bridge/blob/d5af7b9f4d5a0f06ec75d470cecbc8acc58dea7c/src/base.js#L644