diff --git a/state.js b/state.js index 09d1c7f..f6e0d27 100644 --- a/state.js +++ b/state.js @@ -49,8 +49,8 @@ export function getBufferURL(buf) { export function getMessageURL(buf, msg) { var bufURL = getBufferURL(buf); if (msg.tags.msgid) { - return bufURL + "#msgid=" + encodeURIComponent(msg.tags.msgid); + return bufURL + "?msgid=" + encodeURIComponent(msg.tags.msgid); } else { - return bufURL + "#timestamp=" + encodeURIComponent(msg.tags.time); + return bufURL + "?timestamp=" + encodeURIComponent(msg.tags.time); } }