Skip to content

Commit

Permalink
Merge pull request #59 from decentralized-identity/fix/protocol-links
Browse files Browse the repository at this point in the history
fix: strip off message type on proper messages
  • Loading branch information
dbluhm authored Oct 6, 2023
2 parents c37af99 + 0603c7e commit 9007211
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/profile/messaging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ class MessageHistoryComponent
m(
"a",
{
href: this.messageTypeToProtocol(disclosure.id),
href: disclosure.id,
target: "_blank",
},
[
Expand All @@ -409,7 +409,7 @@ class MessageHistoryComponent
class: "unhandled",
inspectable: true,
},
m("a", { href: message.type, target: "_blank" }, [
m("a", { href: this.messageTypeToProtocol(message.type), target: "_blank" }, [
message.type,
m("span.icon", m(`i.fas.fa-arrow-up-right-from-square.is-small`)),
])
Expand Down

0 comments on commit 9007211

Please sign in to comment.