Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions didcomm_messaging/v1/messaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from dataclasses import dataclass
import json
import uuid
from typing import Generic, Optional, Sequence, Union

from pydantic import AnyUrl
Expand Down Expand Up @@ -118,6 +119,7 @@ async def from_did_to_kid(
def forward_wrap(self, to: str, msg: str) -> bytes:
"""Wrap a message in a forward."""
forward = {
"@id": str(uuid.uuid4()),
"@type": "https://didcomm.org/routing/1.0/forward",
"to": to,
"msg": msg,
Expand Down